package com.itheima.reggie.dto;

import com.itheima.reggie.entity.OrderDetail;
import com.itheima.reggie.entity.Orders;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: dw
 * @Date 2022/3/25 8:38
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderDto extends Orders {

    //订单详情集合
    private List<OrderDetail> orderDetails = new ArrayList<>();
}
